<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Access-Control-Allow-Origin" content="*" />

    <title></title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../../css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="../../css/style.css?v=4.1.0" rel="stylesheet">
    <link href="../../css/view/global.css" rel="stylesheet">
    <!--<link href="../../css/view/template.css" rel="stylesheet">-->
    <link rel="stylesheet" href="../../css/view/community/community-service.css">
    <link rel="stylesheet" href="../../css/view/communityHealth.css">
    <link rel="stylesheet" href="../../css/view/main/orderList.css">
    <style>
        .screen{
            justify-content: flex-start;
        }
        .searchAre{
            width: 55%;
            margin-bottom: 0;
        }
    </style>
</head>

<body class="white-bg">
<div class="container-box">
    <div class="business-list">
        <div class="border-left themeBgColor"></div>
        <div class="four-title">订单列表</div>
    </div>
    <div class="screen">
        <div class="searchAre">
            <label style="margin-right: 20px">日期范围</label>
            <input placeholder="开始日期" class="form-control layer-date themeBorder" id="start">
            <text class="searchLine">-</text>
            <input placeholder="结束日期" class="form-control layer-date themeBorder" id="end">
        </div>
        <div class="search">
            <label for="order_status" class="g_label">订单状态：</label>
            <select class="g_select themeBorder"  id="order_status">
                <!--类别-->
                <option value="10">全部</option>
                <option value="0">待支付</option>
                <option value="1">待发货</option>
                <option value="2">待收货</option>
                <option value="3">已完成</option>
                <option value="4">已评价</option>
            </select>
        </div>
        <button type="button" class="btn themeBgColor" id="searchBtn" data-type="">搜索</button>
    </div>
    <div id="ordersListTable">
        <div class="business-list">
            <div class="border-left themeBgColor"></div>
            <div class="four-title">订单列表</div>
        </div>
        <div class="table-box">
            <table class="table table-striped">
                <thead class="themeBgColor">
                    <tr>
                        <th>买家姓名</th>
                        <th>联系方式</th>
                        <th>订单编号</th>
                        <th>交易时间</th>
                        <th>交易金额（元）</th>
                        <th>状态</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody id="ordersList1">

                </tbody>
            </table>
            <div id="page" class="page_div"></div>
        </div>
    </div>
</div>

<!-- Modal Add orders-->
<div class="modal fade" id="OrdersModal1" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="businessModalLabel">订单详情</h4>
            </div>
            <div class="modal-body" style="height:500px;overflow-y:scroll;">
                <div class="mainAre">
                    <div class="titleTxt">商品：</div>
                    <div class="shopMainAre">
                        
                    </div>
                </div>
                <div class="mainAre" style="margin-top: 30px;">
                    <div class="titleTxt">订单状态：</div>
                    <div class="mainItemAre">
                        <div class="mainItem">
                            <div>数量：</div>
                            <div class="item number"></div>
                        </div>
                        <div class="mainItem">
                            <div>金额：</div>
                            <div class="item price"></div>
                        </div>
                        <div class="mainItem">
                            <div>买家姓名：</div>
                            <div class="item name"></div>
                        </div>
                        <div class="mainItem">
                            <div>买家电话：</div>
                            <div class="item phone"></div>
                        </div>
                        <div class="mainItem">
                            <div>收货地址：</div>
                            <div class="item address"></div>
                        </div>
                        <div class="mainItem">
                            <div>订单编号：</div>
                            <div class="item orderNum"></div>
                        </div>
                        <div class="mainItem">
                            <div>订单时间：</div>
                            <div class="item orderDate"></div>
                        </div>
                        <div class="mainItem">
                            <div>订单状态：</div>
                            <div class="item orderStatus"></div>
                        </div>
                        <div id="logisticsName2" style="display: none">
                            <div class="mainItem">
                                <div>物流公司：</div>
                                <div class="item logistics_name"></div>
                            </div>
                        </div>
                        <div id="logisticsNum2" style="display: none">
                            <div class="mainItem">
                                <div>物流单号：</div>
                                <div class="item logistics_number"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">确定</button>
            </div>
        </div>
    </div>
</div>

<!-- Modal Add logisticsModal-->
<div class="modal fade" id="logisticsModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">物流信息</h4>
            </div>
            <div class="modal-body" style="overflow-y:scroll;">
                <div class="form-group">
                    <label for="className">物流公司：</label>
                    <input type="text" class="form-control" id="logisticsName" placeholder="请输入物流公司名称">
                    <input type="hidden" id="logisticsOrderId">
                </div>
                <div class="form-group">
                    <label for="className">物流单号：</label>
                    <input type="text" class="form-control" id="logisticsNum" placeholder="请输入物流单号">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="logisticsBtn" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>

<!-- 全局js -->
<script src="../../js/jquery.min.js?v=2.1.4"></script>
<script src="../../js/bootstrap.min.js?v=3.3.6"></script>
<script src="../../js/plugins/jeditable/jquery.jeditable.js"></script>
<script src="../../js/my-js/provinceList.js"></script>
<script src="../../js/plugins/layer/laydate/laydate.js"></script>

<!--paging-->
<script src="../../js/my-js/paging.js"></script>
<!-- 自定义js -->
<script src="../../js/my-js/global.js"></script>
<script src="../../js/my-js/laydate.js"></script>
<!-- <script src="../../js/view/index.js"></script> -->
<script src="../../js/view/communityHealth/orderList.js"></script>
</body>

</html>
